package io.agora.robot

internal enum class PaiBaoOrder {
    FORWARD {
        override fun decode(): String {
            return "Forward_keyboard"
        }
    },
    BACKWARD {
        override fun decode(): String {
            return "Back_keyboard"
        }
    },
    LEFT {
        override fun decode(): String {
            return "Left_keyboard"
        }
    },
    RIGHT {
        override fun decode(): String {
            return "Right_keyboard"
        }
    },
    UP_HEAD {
        override fun decode(): String {
            return "Screen_up"
        }
    },
    DOWN_HEAD {
        override fun decode(): String {
            return "Screen_down"
        }
    },
    STOP {
        override fun decode(): String {
            return "Stop_keyboard"
        }
    },
    SPEED_1 {
        override fun decode(): String {
            return "Speed_one"
        }
    },
    SPEED_2 {
        override fun decode(): String {
            return "Speed_two"
        }
    },
    SPEED_3 {
        override fun decode(): String {
            return "Speed_three"
        }
    },
    SPEED_4 {
        override fun decode(): String {
            return "Speed_four"
        }
    },
    STOP_CHARGE {
        override fun decode(): String {
            return "Stop_charge"
        }
    },
    AUTO_CHARGE {
        override fun decode(): String {
            return "Auto_charge"
        }
    };

    abstract fun decode(): String
}